package com.busi.model;

import java.io.Serializable;
import java.math.BigDecimal;
import java.sql.Timestamp;
import java.util.Date;

/**
* Description: 时光机导出报表明细
* @author loufanglei
* @date 2017年6月6日--下午2:51:49
*/
public class TimeMachCountDet extends BaseModel implements Serializable {

	private static final long serialVersionUID = 1657072758250488772L;
	
	private String memberId;		//会员ID
	private String mobileid; 		//手机号
	private Integer totalShare;		//当前份额
	private BigDecimal protfits;	//当日万份收益
	private BigDecimal rate;	//当天收益
	private Integer type;		//操作类型（转入，转出）
	private BigDecimal share;	//流动份额
	private Timestamp addTime;	// 报表时间
	
	
	//查询使用
	private Date startAddTime;
	private Date endAddTime;
	
	public String getMemberId() {
		return memberId;
	}
	public void setMemberId(String memberId) {
		this.memberId = memberId;
	}
	public String getMobileid() {
		return mobileid;
	}
	public void setMobileid(String mobileid) {
		this.mobileid = mobileid;
	}
	public Integer getTotalShare() {
		return totalShare;
	}
	public void setTotalShare(Integer totalShare) {
		this.totalShare = totalShare;
	}
	public BigDecimal getProtfits() {
		return protfits;
	}
	public void setProtfits(BigDecimal protfits) {
		this.protfits = protfits;
	}
	public BigDecimal getRate() {
		return rate;
	}
	public void setRate(BigDecimal rate) {
		this.rate = rate;
	}
	public Integer getType() {
		return type;
	}
	public String getTypeDesc() {
		if(type == 0)
			return "转入";
		return "转出";
		
	}
	public void setType(Integer type) {
		this.type = type;
	}
	public BigDecimal getShare() {
		return share;
	}
	public void setShare(BigDecimal share) {
		this.share = share;
	}
	public Timestamp getAddTime() {
		return addTime;
	}
	public void setAddTime(Timestamp addTime) {
		this.addTime = addTime;
	}
	public Date getStartAddTime() {
		return startAddTime;
	}
	public void setStartAddTime(Date startAddTime) {
		this.startAddTime = startAddTime;
	}
	public Date getEndAddTime() {
		return endAddTime;
	}
	public void setEndAddTime(Date endAddTime) {
		this.endAddTime = endAddTime;
	}
	
	
	
	
	
}